@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

# Find dependencies
find_dependency(MPI REQUIRED)
find_dependency(HYPRE REQUIRED)

# Include the exported targets
include("${CMAKE_CURRENT_LIST_DIR}/HYPREDRVTargets.cmake")

# Define the HYPREDRV_LIBRARIES variable
set(HYPREDRV_LIBRARIES HYPREDRV::HYPREDRV)

# Define the HYPREDRV_INCLUDE_DIRS variable
get_target_property(HYPREDRV_INCLUDE_DIRS HYPREDRV::HYPREDRV INTERFACE_INCLUDE_DIRECTORIES)

# Check if all required components are found
check_required_components(HYPREDRV)

# Provide some information about the package
if(NOT HYPREDRV_FIND_QUIETLY)
    message(STATUS "Found HYPREDRV: ${CMAKE_CURRENT_LIST_DIR}")
    message(STATUS "HYPREDRV include directory: ${HYPREDRV_INCLUDE_DIRS}")
endif()